package com.njupt.towersutils.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ManageInfos {
    private int userid;
    private String username;
    private String loginname;
    private String loginpwd;
    private String tel;
    private String department;
    private Date createtime;
    private Date lasttime;

    @Override
    public String toString() {
        return userid +
                "," + username  +
                "," + loginname +
                "," + loginpwd +
                "," + tel +
                "," + department+
                "," + createtime +
                "," + lasttime;
    }
}
